import hyRequest from '@/service'

// 获取电台分类

export function getDjRadioCategory() {
  return hyRequest.get({
    url: '/dj/catelist'
  })
}

// 获取电台推荐
export function getDjRadioRecommend(type:number) {
  return hyRequest.get({
    url: "/dj/recommend/type",
    params: {
      type
    }
  })
}

// 获取电台排行榜
export function getDjRadios(cateId:number, limit:number, offset:number) {

  return hyRequest.get({
    url: "/dj/radio/hot",
    params: {
      cateId,
      limit,
      offset
    }
  })
}

